package com.group.three.service.myorderservice;

import com.group.three.entity.myOrder.*;

import java.util.List;

public interface AfterSaleReasonService {
    /**
     * *
     *
     * @param serviceType 类型 "CANCEL,RETURN_GOODS,RETURN_MONEY,COMPLAIN"
     * @return
     */
    List<AfterSaleReason> selectAfterSaleReasons(String serviceType);

    //获取我的售后列表
    List<AfterSaleSearchParams> selectAfterSale(String memberId, String keywords, int pageNumber, int pageSize);

    //取消我的售后
    int cancelAfterSale(String afterSaleSn);

    //售后详情
    AfterSaleSearchParams AfterSaleItem(String sn);

    //售后日志
    List<AfterSaleLog> getAfterSaleLog(String sn);

    //获取售后页面信息
    AfterSaleApplyVO getAfterSaleInfo(String sn);
    //售后页面
    int saveAfterSale(AfterSaleDTO afterSaleDTO);
}
